package com.cjx.stars.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author cjx
 * @description 项目的相关配置
 * @createDate 2024/4/23 17:16
 **/
@Data
@ConfigurationProperties(prefix = "stars")
@Component
public class StarsProperties {

    /**
     * 本地图片位置
     */
    private String img = "/img";
    /**
     * 启用布隆过滤器
     */
    private boolean enableBloomFilter = false;

    private boolean useShortMessagingService = false;

}
